package jmini.examples.spring;

import java.util.Properties;

import org.springframework.beans.factory.config.PropertyPlaceholderConfigurer;

/**
 * 
* @ClassName: MyPropertyPlaceholderConfigurer
* @Description: spring配置文件替换
* @author Jason.ma
* @date 2013年11月20日 下午2:01:47
*
 */
public class MyPropertyPlaceholderConfigurer extends PropertyPlaceholderConfigurer{
	
	@Override
	protected String resolvePlaceholder(String placeholder, Properties props, int systemPropertiesMode) {
		return Props.p(placeholder);
	}

	@Override
	protected String resolvePlaceholder(String placeholder, Properties props) {
		return Props.p(placeholder);
	}

}
